﻿using ByBikeShop.Site;
using PersistenceLayer.DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Uol.PagSeguro.Domain;
using Uol.PagSeguro.Service;

namespace ByBikeShop.Cliente.Pages
{
	public partial class NotificacaoTransacao : BasePage
	{
		private string NotificationCode
		{
			get
			{
				return Request.QueryString["notificationCode"].ToString();
			}
		}

		protected void Page_Load(object sender, EventArgs e)
		{
			Transaction t = NotificationService.CheckTransaction(credentials, NotificationCode, false);
			PersistenceLayer.Model.Pedidos p = new PedidoDAL().ObterPorCodigo(t.Code);

			if (p == null)
				return;

		}

		public override void CarregaDados()
		{
			
		}
	}
}